package freespiritsocial.io.user.data.model.bean

import me.hgj.jetpackmvvm.network.BaseResponse


data class ApiResponse<T>(var code: Int, var message: String, var data: T) : BaseResponse<T>() {

    override fun isSucces() = code == 200

    override fun getResponseCode() = code

    override fun getResponseData() = data

    override fun getResponseMsg() = message

}